package com.hp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hp.entity.Position;
import com.hp.mapper.PositionMapper;
import com.hp.service.PositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PositionServiceImpl extends ServiceImpl<PositionMapper,Position> implements PositionService {

    @Autowired
    private PositionMapper positionMapper;

    @Override
    public Integer selectMaxNum() {
        return positionMapper.selectMaxNum();
    }
}
